/*!
 * JQuery MyTooltip Plugin by Rifan Hidayat
 * https://plus.google.com/106954497205478697764
 * Licence: http://creativecommons.org/licenses/by-sa/4.0/
 */

(function (f) {
    t.hover(function () {
        var tp = t.attr(n);
        t.data('cd', tp).removeAttr(n);
        f('<span class="tooltip"></span>').text(tp).appendTo(document.body).fadeIn('slow');
    }, function () {
        t.attr(n, t.data('cd'));
        f('.tooltip').remove();
    }).mousemove(function (s) {
        var pagex = s.pageX + 20;
        var pagey = s.pageY + 10;
        f('.tooltip')
            .css({
            top: pagey,
            left: pagex
        })
    });
})(jQuery);